package com.ipzoe.oms.service;

import com.ipzoe.oms.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 订单Service接口
 *
 * @author eric
 * @date 2020-09-06
 */
public interface IOrderService extends IService<Order> {

    /**
     * 订单号生产
     *
     * @return
     */
    String generateOrderSn();

    void payReturn(String orderJson, boolean isSuccess, String payResult);

    /**
     * 卡券兑换
     * @param cardNum
     * @param memberId
     */
    void exchangeMemberCard(String cardNum, Long memberId);
}
